<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>markdown test</title>
</head>
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
<body >
  <div id="app">
    <div class="toolbar" id="toolbar">
      <nav>
        <ul>
          <li>
            <details role="list">
              <summary aria-haspopup="listbox" role="button">插件模式</summary>
              <ul role="listbox">
                <li>
                  <label for="small">
                    <button id="upper-type" name="size" value="small">开启大小写</button>     
                  </label>
                </li>
                <li>
                  <label for="small">
                    <button id="console-type" name="size" value="small">日志打印</button>
                  </label>
                </li>
              </ul>
            </details>
          </li>
          <li>
            <details role="list">
              <summary aria-haspopup="listbox" role="button">渲染模式</summary>
              <ul role="listbox">
                <li>
                    <label for="small">
                      <input type="radio" id="SOURCE" name="size" value="small">所见即所得
                    </label>
                </li>
                <li>
                    <label for="small">
                      <input type="radio" id="SOURCE_AND_PREVIEW" name="size" value="small">源码分屏模式
                    </label>
                </li>
              </ul>
            </details>
          </li>
        </ul>
      </nav>
    </div>
    <div id="myEditor" class="my-editor">
      <pre id="container" contenteditable="true" spellcheck="false" class="editor-pre"></pre>
    </div>
  </div>
</body>
</html>
